package com.JFapp.service;

import com.JFapp.domain.dto.LinkDto;
import com.JFapp.domain.entity.Link;
import com.JFapp.domain.entity.ResponseResult;
import com.JFapp.domain.vo.LinkVo;
import com.baomidou.mybatisplus.extension.service.IService;


/**
 * (Link)表服务接口
 *
 * @author makejava
 * @since 2024-03-13 21:15:09
 */
public interface LinkService extends IService<Link> {

    ResponseResult getAllLink();

    ResponseResult addLink(LinkDto linkDto);


    ResponseResult getAllLinkInAdmin(Integer pageNum, Integer pageSize);

    ResponseResult getOneLinkById(Long id);

    ResponseResult updateLink(LinkVo linkVo);

    ResponseResult deleteLinkById(Long id);
}
